package com.atjinggu.jinggumail.product.feign;

import com.atjinggu.jinggumail.common.to.es.SkuEsModule;
import com.atjinggu.jinggumail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author jingming
 * @Type SearchFeignService.java
 * @Desc
 * @date 2021/1/8 14:33
 */
@FeignClient("jinggumail-search")
public interface SearchFeignService {
    @PostMapping("/search/product")
     R productStatusUp(@RequestBody List<SkuEsModule> esModuleList);
}
